<div data-control="toolbar">
    <a href="<?= Backend::url('flosch/slideshow/slideshows/create') ?>" class="btn btn-primary oc-icon-plus">
        <?= e(trans('flosch.slideshow::lang.controller.view.slideshows.new')) ?>
    </a>
    <button
        class="btn btn-default oc-icon-trash-o"
        disabled="disabled"
        data-request="onDelete"
        data-request-confirm="<?= e(trans('backend::lang.relation.delete_confirm')) ?>"
        data-request-success="$el.prop('disabled', false)"
        data-trigger-action="enable"
        data-trigger=".control-list input[type=checkbox]"
        data-trigger-condition="checked"
        data-stripe-load-indicator
        onclick="$(this).data('request-data', {
            checked: $('.control-list').listWidget('getChecked')
        })">
        <?= e(trans('backend::lang.form.delete')) ?>
    </button>
</div>
